﻿
@{
    ViewData["active"] = "用户管理";
    Layout = "~/Views/Shared/_LayoutPage.cshtml";
}
<div class="col-md-12">
    <div class="widget-box widget-color-blue">
        <div class="widget-header">
            <!--按钮-->
            <div class="btn-group pull-right">
                <button id="btnAdd" class="btn btn-sm btn-green" onclick="add()">
                    <i class="ace-icon fa fa-plus"></i>
                    添加
                </button>
                <button id="btnEdit" class="btn btn-sm btn-blue" onclick="edit()">
                    <i class="ace-icon fa fa-pencil"></i>
                    编辑
                </button>
                <button id="btnDel" class="btn btn-sm btn-juh" onclick="del()">
                    <i class="ace-icon fa fa-trash"></i>
                    删除
                </button>
            </div>
            <!--按钮-->
        </div>
        <!--主要数据-->
        <div class="widget-body">
            <div class="widget-main">
                <div class="row">
                    <div class="col-md-12">
                        <div id="gbox_main" class="gbox_main">
                            <!--加载图-->
                            <div class="loading">Loading<i class="fa fa-spinner fa-pulse" style="font-size: 15px;"></i></div>
                            <!--数据-->

                            <div id="givew_main" class="givew_main">
                                <!--表头-->
                                <div id="givew_head" class="givew_head">
                                    @{Html.RenderPartial("Ta_head");}
                                </div>
                                <!--行-->
                                <div id="givew_body" class="givew_body">
                                    <table>
                                        <tbody>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            <!--页数-->
                            <div id="givew_page" class="givew_page">
                                <div class="givew_page_center">
                                    <table class="pg_table" cellspacing="0" cellpadding="0" border="0">
                                        <tbody>
                                            <tr>
                                                <td id="page_fist">
                                                    <span class="pg_icon fa fa-angle-double-left"></span>
                                                </td>
                                                <td id="page_prev">
                                                    <span class="pg_icon fa fa-angle-left"></span>
                                                </td>
                                                <td class="pg_text" dir="ltr">
                                                    Page
                                                    <input class="pg_input" id="pg_text" min="1" size="2" maxlength="7" value="" role="textbox" type="number" max="" onchange="pg_change(this.value)" />
                                                    Of
                                                    <span id="max_page"></span>
                                                </td>
                                                <td id="page_next">
                                                    <span class="pg_icon fa fa-angle-right"></span>
                                                </td>
                                                <td id="page_last">
                                                    <span class="pg_icon fa fa-angle-double-right"></span>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            <!--页数-->
                        </div>

                    </div>
                </div>
            </div>
        </div>
        <!--主要数据-->
    </div>
</div>
<div id="Dlgshow" style="display:none">
    <form id="Digform" class="Digform">
        <div class="form-group">
            <label class="form-text">姓名</label>
            <div class="form-value">
                <input type="text" name="user_name" id="name"/>
            </div>
        </div>
        <div class="form-group">
            <label class="form-text">电话号码</label>
            <div class="form-value">
                <input type="tel" name="user_tel" id="tel" />
            </div>
        </div>
        <div class="form-group">
            <label class="form-text">卡内余额</label>
            <div class="form-value">
                <input type="text" name="user_money" disabled="disabled" class="form-no" id="money"/>
            </div>
        </div>
    </form>
</div>
@section Js{
<script src="~/Scripts/common/loading.js"></script>
<script src="~/Scripts/usermange/load.js"></script>
}

